package com.hanson.demo.actors;

public abstract class ContextAwareActor extends AbstractActor {

	protected final ActorSystemServiceContext systemContext;

	public ContextAwareActor(ActorSystemServiceContext systemContext) {
		super();
		this.systemContext = systemContext;
	}

	@Override
	public boolean process(Object msg) {
		return doProcess(msg);
	}

	protected abstract boolean doProcess(Object msg);
}
